<?php

/**
 * 后台渠道端
 */

//公共接口
$router->post('config/list', 'CommonController@getList');
$router->post('config/modify', 'CommonController@modify');
//首页
$router->post('banner/index', 'BannerController@getIndex');
$router->post('banner/add', 'BannerController@add');
$router->post('banner/del', 'BannerController@del');
//商品分类
$router->post('gcate/option', 'GcateController@getOption');
$router->post('gcate/index', 'GcateController@getIndex');
$router->post('gcate/modify', 'GcateController@modify');
$router->post('gcate/del', 'GcateController@del');
$router->post('gcate/out', 'GcateController@getOut');
//商品列表
$router->post('goods/index', 'GoodsController@getIndex');
$router->post('goods/batchStatus', 'GoodsController@batchStatus');
$router->post('goods/batchDel', 'GoodsController@batchDel');
$router->post('goods/one', 'GoodsController@getOne');
$router->post('goods/catelist', 'GoodsController@getCateList');
$router->post('goods/add', 'GoodsController@add');
$router->post('goods/modify', 'GoodsController@modify');
$router->post('goods/del', 'GoodsController@setDel');
$router->post('gmore/upload', 'GoodsController@moreUpload');
$router->post('gmore/del', 'GoodsController@moreUpload');
$router->post('gsku/add', 'GoodsController@skuAdd');
$router->post('gsku/modify', 'GoodsController@skuModify');
$router->post('gsku/del', 'GoodsController@skuDel');
$router->post('goods/shelf', 'GoodsController@setShelf');
$router->post('goods/out', 'GoodsController@getOut');
$router->post('gsku/list', 'GoodsController@skuList');
//购物车
$router->post('cart/index', 'OrderController@cartIndex');
//订单
$router->post('order/index', 'OrderController@getIndex');
$router->post('order/one', 'OrderController@getOne');
$router->post('order/auth', 'OrderController@setAuth');
$router->post('order/send', 'OrderController@send');
$router->post('order/batch/send', 'OrderController@batchSend');
$router->post('order/out', 'OrderController@getOut');
//收货地址
$router->post('accept/index', 'OrderController@acceptIndex');
//素材
$router->post('sucai/index', 'SucaiController@getIndex');
$router->post('sucai/one', 'SucaiController@getOne');
$router->post('sucai/modify', 'SucaiController@modify');
$router->post('sucai/upload', 'SucaiController@upload');
$router->post('sucai/del', 'SucaiController@del');
//渠道商
$router->post('shop/index', 'ShopController@getIndex');
$router->post('shop/auth', 'ShopController@setAuth');
$router->post('shop/recharge/list', 'ShopController@rechargeList');
$router->post('shop/tixian/list', 'ShopController@tixianList');
$router->post('shop/cost/list', 'ShopController@costList');
$router->post('shop/team/list', 'ShopController@teamList');
$router->post('shop/team/income/list', 'ShopController@teamCostList'); //团队收益明细
$router->post('shop/txauth/list', 'ShopController@txAuthList'); //提现审核列表
$router->post('shop/txauth/modify', 'ShopController@txAuthModify'); //提现审核更新
$router->post('shop/bank/list', 'ShopController@bankList');
$router->post('shop/bank/default/modify', 'ShopController@bankDefaultModify');
//礼品卡
$router->post('card/option', 'CardController@getOption');
$router->post('card/index', 'CardController@getIndex');
$router->post('card/one', 'CardController@getOne');
$router->post('card/modify', 'CardController@modify');
$router->post('card/del', 'CardController@setDel');
$router->post('card/goods/index', 'CardController@goodsIndex');
$router->post('card/user/index', 'CardController@userIndex');
$router->post('card/order/list', 'CardController@orderList');
$router->post('card/cate/list', 'CardController@cateList');
$router->post('card/cate/modify', 'CardController@cateModify');
$router->post('card/cate/del', 'CardController@cateDel');
$router->post('card/goods/option', 'CardController@goodsOption');
$router->post('card/goods/modify', 'CardController@goodsModify');
$router->post('card/goods/del', 'CardController@goodsDel');
$router->post('card/upload', 'CardController@upload');
//费用充值
$router->post('cost/list', 'CostController@getIndex');
$router->post('cost/add', 'CostController@add');
$router->post('cost/del', 'CostController@del');